package pl.edu.agh.io.sylvia.entity;
import java.util.ArrayList;
import java.util.List;



public class Monitor extends DBObject {
	private String name;
	private String email;
	private int howOften;
	private List<Group> groups = new ArrayList<Group>();
	private List<Keyword> keywords = new ArrayList<Keyword>();

	public Monitor(Integer id, String name, String email, int howOften, List<Group> groups, List<Keyword> keywords) {
		super(id);
		this.name = name;
		this.groups = groups;
		this.keywords = keywords;
		this.email = email;
		this.howOften = howOften;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Group> getGroups() {
		return groups;
	}

	public void setGroups(List<Group> groups) {
		this.groups = groups;
	}

	public List<Keyword> getKeywords() {
		return keywords;
	}

	public void setKeywords(List<Keyword> keywords) {
		this.keywords = keywords;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getHowOften() {
		return howOften;
	}

	public void setHowOften(int howOften) {
		this.howOften = howOften;
	}
}

